package cn.l1.l004;

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner cin = new Scanner(System.in);
		Integer integer = cin.nextInt();
		Integer c = 5*(integer-32)/9;
		System.out.println("Celsius = " + c);
		cin.close();
	}
}
